home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Jul 89 / W0139-Think C 4.0 with OO-Jul89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  2.0 KB  |  57 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  WILSON6      to ALCABES
  2.  
  3. Item    9143964                         30-July-89        18:14
  4.  
  5. From:   WILSON6                         Wilson, Dave - Personal Concepts
  6.  
  7. To:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Think C 4.0 with OOP
  10.  
  11. Dear C fanatics,
  12.  
  13. I just received a copy of the Think C 4.0 with object-oriented extensions and a
  14. very large class library.
  15.  
  16. The language is a subset of C++, containing the kind of OOP features found in
  17. Object Pascal. It looks easy to learn.  I do not know if there is a way to
  18. subclass from Pascal objects, and therefore to get at MacApp.  The C objects
  19. are normally accessed by handles, just as in Object Pascal. An object takes
  20. only 2 bytes more on the heap than its instance variables need, just as in
  21. Object Pascal.
  22.  
  23. The system does not seem to contain any special OOP tools such as a Browser.
  24.  
  25. The class library has:
  26.  
  27. 43 "Core" classes:
  28.     2026 lines of class definition header files
  29.     13,614 lines of method implementations
  30.  
  31. 21 other classes:
  32.     606 lines of headers
  33.     2,915 lines of methods
  34.  
  35. Total: 19,000 lines of source code.
  36.  
  37. For comparison, my last count on MacApp was about 46,000 lines.
  38.  
  39. The library supports the usual features, plus nice things like tear-off menus.
  40. It is structured totally differently than MacApp.
  41.  
  42. Their largest sample program is a B&W paint program.  It contains about 4,100
  43. lines of code, and compiles to 113 KB on disk. The initial compile time on my
  44. Mac II using a 44 MB removeable disk drive was 7 mintes and 20 seconds.  This
  45. includes compiling the class library into the (811 KB) project file.  I then
  46. made a small change to a method implementation. It rebuilt the application in
  47. less than 15 seconds. Very impressive.
  48.  
  49. I did find a bug when the program ran out of memory while trying to display its
  50. About… box, but it did not crash.
  51.  
  52. One very good commercial developer friend of mine loves this product.  I think
  53. it will be very popular, and help spread the OOP word.
  54.  
  55. Dave
  56.  
  57.